home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / progut~1 / stdwin.zoo / test / Makefile.16 < prev    next >
Encoding:
Makefile  |  1990-03-30  |  2.9 KB  |  118 lines

  1. CC = cgcc
  2. CFLAGS = -O -mshort -I../h $(XFLAGS)
  3. LDFLAGS = -mshort -v
  4.  
  5. SRCS=        test0.c test1.c test2.c test3.c test4.c thand.c \
  6.         hello.c bits.c faced.c klok.c charset.c dklok.c vtdemo.c \
  7.         tetris.c testpollevent.c testlocalmenus.c multiwin.c
  8. OBJS=        test0.o test1.o test2.o test3.o test4.o thand.o \
  9.         hello.o bits.o faced.o klok.o charset.o dklok.o vtdemo.o \
  10.         tetris.o testpollevent.o testlocalmenus.o multiwin.o
  11.  
  12. GLIBES=        -lstdwin16 -lgem16 -mshort -lpml16
  13. ALIBES=        ../alfa/liba16.olb -lpml16 -ltermlib16 -mshort
  14.  
  15. ALLG = test0.G16 test1.G16 test2.G16 test3.G16 test4.G16 hello.G16 bits.G16 \
  16. charset.G16 klok.G16 dklok.G16 faced.G16 tetris.G16 \
  17. testlocalmenus.G16 multiwin.G16 thand.G16
  18. #testpollevent.G16 
  19.  
  20. ALLA =    test0.A16 test1.A16 test2.A16 test3.A16 test4.A16 hello.A16 bits.A16 \
  21. charset.A16 klok.A16 dklok.A16 faced.A16 vtdemo.A16 tetris.A16
  22.  
  23. ALL=        $(ALLG) # $(ALLA)
  24.  
  25. all:        $(ALL)
  26.  
  27. .SUFFIXES: .G16 .A16
  28.  
  29. .o.G16:
  30.         $(CC) $(LDFLAGS) $*.o $(GLIBES) -o $*.G16
  31.  
  32. .o.A16:
  33.         $(CC) $(LDFLAGS) $*.o $(ALIBES) -o $*.A16
  34. clean:
  35.         rm -f core *.o [,@#]*
  36.  
  37. realclean:    clean
  38.         rm -f lib.a tags *.G16 *.A16
  39.  
  40. # End Rules
  41. test0.o: test0.c
  42. test0.o: ../h/stdwin.h
  43. test0.o: ../h/stdevent.h
  44. test0.o: ../h/stdtext.h
  45. test1.o: test1.c
  46. test1.o: ../h/stdwin.h
  47. test1.o: ../h/stdevent.h
  48. test1.o: ../h/stdtext.h
  49. test2.o: test2.c
  50. test2.o: ../h/stdwin.h
  51. test2.o: ../h/stdevent.h
  52. test2.o: ../h/stdtext.h
  53. test3.o: test3.c
  54. test3.o: ../h/stdwin.h
  55. test3.o: ../h/stdevent.h
  56. test3.o: ../h/stdtext.h
  57. test4.o: test4.c
  58. test4.o: ../h/stdwin.h
  59. test4.o: ../h/stdevent.h
  60. test4.o: ../h/stdtext.h
  61. thand.o: thand.c
  62. thand.o: ../h/stdwin.h
  63. thand.o: ../h/stdevent.h
  64. thand.o: ../h/stdtext.h
  65. hello.o: hello.c
  66. hello.o: ../h/stdwin.h
  67. hello.o: ../h/stdevent.h
  68. hello.o: ../h/stdtext.h
  69. bits.o: bits.c
  70. bits.o: ../h/stdwin.h
  71. bits.o: ../h/stdevent.h
  72. bits.o: ../h/stdtext.h
  73. faced.o: faced.c
  74. faced.o: ../h/stdwin.h
  75. faced.o: ../h/stdevent.h
  76. faced.o: ../h/stdtext.h
  77. klok.o: klok.c
  78. klok.o: ../h/tools.h
  79. klok.o: ../h/configure.h
  80. klok.o: ../h/l_defs.h
  81. klok.o: ../h/stdwin.h
  82. klok.o: ../h/stdevent.h
  83. klok.o: ../h/stdtext.h
  84. klok.o: ./bsdsetdate.c
  85. charset.o: charset.c
  86. charset.o: ../h/tools.h
  87. charset.o: ../h/configure.h
  88. charset.o: ../h/l_defs.h
  89. charset.o: ../h/stdwin.h
  90. charset.o: ../h/stdevent.h
  91. charset.o: ../h/stdtext.h
  92. dklok.o: dklok.c
  93. dklok.o: ../h/stdwin.h
  94. dklok.o: ../h/stdevent.h
  95. dklok.o: ../h/stdtext.h
  96. dklok.o: ./sevenseg.h
  97. vtdemo.o: vtdemo.c
  98. vtdemo.o: ../h/stdwin.h
  99. vtdemo.o: ../h/stdevent.h
  100. vtdemo.o: ../h/stdtext.h
  101. vtdemo.o: ../h/vt.h
  102. tetris.o: tetris.c
  103. tetris.o: ../h/stdwin.h
  104. tetris.o: ../h/stdevent.h
  105. tetris.o: ../h/stdtext.h
  106. testpollevent.o: testpollevent.c
  107. testpollevent.o: ../h/stdwin.h
  108. testpollevent.o: ../h/stdevent.h
  109. testpollevent.o: ../h/stdtext.h
  110. testlocalmenus.o: testlocalmenus.c
  111. testlocalmenus.o: ../h/stdwin.h
  112. testlocalmenus.o: ../h/stdevent.h
  113. testlocalmenus.o: ../h/stdtext.h
  114. multiwin.o: multiwin.c
  115. multiwin.o: ../h/stdwin.h
  116. multiwin.o: ../h/stdevent.h
  117. multiwin.o: ../h/stdtext.h
  118.